package com.wnx.job.common.mapstruct;


import com.wnx.job.modules.nms.dto.ArticleAttachmentParam;
import com.wnx.job.modules.nms.model.NmsArticleAttachment;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author wangnaixing
 */
@Mapper
public interface ArticleAttachmentMapper {

    ArticleAttachmentMapper INSTANCE = Mappers.getMapper(ArticleAttachmentMapper.class);

    /**
     * 咨询附件Dto转咨询模型
     * @param articleAttachmentParam
     * @return
     */
    NmsArticleAttachment toPojo(ArticleAttachmentParam articleAttachmentParam);
}
